<?php


namespace Melon\Provider;


use Pimple\Container;
use Pimple\ServiceProviderInterface;

class RouteProvider implements ServiceProviderInterface
{

    public function register(Container $pimple)
    {
        $pimple['route'] = function (Container $pimple) {
            $base_path = $pimple['base_path'];

            return require $base_path . "/config/route.php";
        };
    }
}